/**
 * 
 */
package it.gommonauti.patenti.entity;

/**
 * @author Francesco Stallone ( f.stallone73@gmail.com ).
 * 
 * The question and application language.
 */
public class Language {

	/**
	 * Language identifier.
	 * I.e. it_IT.
	 */
	private String id;
	
	/**
	 * Language description. 
	 */
	private String description;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		
		StringBuffer sb = new StringBuffer();
		
		sb.append("ID " + this.id + System.getProperty("line.separator"));
		
		sb.append("DESCRIPTION " + this.description + System.getProperty("line.separator"));
		
		return sb.toString();

	}
	
}
